'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/public/*', controller.home.myPage);
  router.post('/myForm',controller.home.myForm );
  router.post('/statistics', controller.home.statistics);
  router.post('/postTable',controller.home.postTable );
  router.post('/timeOb',controller.home.timeOb );
};
